TTTTkkkk____GGGGeeeettttCCCCaaaappppSSSSttttyyyylllleeee places in *_c_a_p_P_t_r the X cap style
corresponding to _s_t_r_i_n_g. This will be one of the values
CCCCaaaappppBBBBuuuutttttttt, CCCCaaaappppPPPPrrrroooojjjjeeeeccccttttiiiinnnngggg, or CCCCaaaappppRRRRoooouuuunnnndddd. Cap styles are
typically used in X graphics contexts to indicate how the
end-points of lines should be capped. See the X
documentation for information on what each style implies.
Under normal circumstances the return value is TTTTCCCCLLLL____OOOOKKKK and
_i_n_t_e_r_p is unused. If _s_t_r_i_n_g doesn't contain a valid cap
style or an abbreviation of one of these names, then an
error message is stored in _i_n_t_e_r_p->_r_e_s_u_l_t, TTTTCCCCLLLL____EEEERRRRRRRROOOORRRR is
returned, and *_c_a_p_P_t_r is unmodified.
TTTTkkkk____NNNNaaaammmmeeeeOOOOffffCCCCaaaappppSSSSttttyyyylllleeee is the logical inverse of TTTTkkkk____GGGGeeeettttCCCCaaaappppSSSSttttyyyylllleeee.
Given a cap style such as CCCCaaaappppBBBBuuuutttttttt it returns a statically-
allocated string corresponding to _c_a_p. If _c_a_p isn't a legal
cap style, then ``unknown cap style'' is returned.